package com.hluobo.library.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="t_borrow")
public class BorrowLog {

	private int id; 
	private int book_id; // 图书ID
	private int borrow_id; // 借阅者ID
	private Date borrow_dt; // 借阅日期
	private Date back_dt; // 归还日期
	private int checker_id; // 借出者ID
		
	@Id @GeneratedValue
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public int getBook_id() {
		return book_id;
	}
	public void setBook_id(int book_id) {
		this.book_id = book_id;
	}
	public int getBorrow_id() {
		return borrow_id;
	}
	public void setBorrow_id(int borrow_id) {
		this.borrow_id = borrow_id;
	}
	public Date getBorrow_dt() {
		return borrow_dt;
	}
	public void setBorrow_dt(Date borrow_dt) {
		this.borrow_dt = borrow_dt;
	}
	public int getChecker_id() {
		return checker_id;
	}
	public void setChecker_id(int checker_id) {
		this.checker_id = checker_id;
	}
	public Date getBack_dt() {
		return back_dt;
	}
	public void setBack_dt(Date back_dt) {
		this.back_dt = back_dt;
	}
	
	
}
